package javaDesignModel.abstractFactoryPattern;

/**
 * Created by admin on 2017/3/14.
 */
public class Client {
    public static void main(String[] args) {
        Button button;
        TextField textField;
        SkinFactory skinFactory = new SpringFactory();
        button = skinFactory.CreatButton();
        textField = skinFactory.CreatTextField();
        button.display();
        textField.display();
    }
}
